package com.sky.mapper;/*
 * @author Fairy
 * @date 2025/11/22
 * @description UserMapper接口的详细描述
 */

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user where openid = #{openid}")
    User getByOpenid(String openid);

    void insert(User user);
}
